package com.example.demo.infra.mapper;

import com.example.demo.domain.entity.Student;
import com.example.demo.domain.vo.StudentCourseGradesVO;
import com.example.demo.domain.vo.StudentGradesSimpleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    Student selectStudentById(Integer id);

    List<Student> selectStudentList();

    Integer insertStudent(Student student);

    Integer updateStudent(Student student);

    Integer deleteStudentById(Integer id);

    List<StudentCourseGradesVO> selectStudentCourseGrade(String sname);

}
